import { createRouter, createWebHashHistory } from 'vue-router';

const routes = [
    {
        path: '/',
        name: 'home',
        redirect: '/panoramic-view',
    },
    {
        path: '/panoramic-view',
        component: () => import('@/views/PanoramicView/index.vue'),
        meta: {
            title: 'PanoramicView',
        },
    },
    {
        path: '/3d-map',
        component: () => import('@/views/Map3d/index.vue'),
        meta: {
            title: 'panorama',
        },
    },
];

const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

export default router;
